<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			/* 浮动定位 floot：left-right-none */
			div{
				width: 300px;
				height: 300px;
				border-radius: 50%;
				font-size: 10em;/* em 相当于倍数*/
				text-align: center;
				line-height: 300px;
				/* 特点：元素添加浮动  */
				float: left;
			}
			#d1{
				background:pink;
			}
			#d2{
				background:gold;
			}
			#d3{
				background:aquamarine;
				clear: right;
			}
			#d4{
				background:violet;
				clear: both;
			}
			i{
				width: 500px;
				height: 500px;
				background: hotpink;
				float: right;
			}
		</style>
		
	</head>
	<body>
		<i></i>
		<!-- html创建四个div 起别名 -->
		<div id="d1">1</div>
		<div id="d2">2</div>
		<div id="d3">3</div>
		<div id="d4">4</div>
	</body>
</html>